Optimal. Leaf size=35 \[ \frac {2 i a \sec ^5(c+d x)}{5 d (a+i a \tan (c+d x))^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 35, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.038, Rules used = {3574}
\begin {gather*} \frac {2 i a \sec ^5(c+d x)}{5 d (a+i a \tan (c+d x))^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3574
Rubi steps
\begin {align*} \int \frac {\sec ^5(c+d x)}{(a+i a \tan (c+d x))^{3/2}} \, dx &=\frac {2 i a \sec ^5(c+d x)}{5 d (a+i a \tan (c+d x))^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.33, size = 59, normalized size = 1.69 \begin {gather*} \frac {2 \sec ^3(c+d x) (1-i \tan (c+d x))}{5 a d (-i+\tan (c+d x)) \sqrt {a+i a \tan (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Both result and optimal contain complex but leaf count of result is larger than twice
the leaf count of optimal. 89 vs. \(2 (29 ) = 58\).
time = 0.77, size = 90, normalized size = 2.57
method | result | size |
default | \(\frac {2 \left (4 i \left (\cos ^{3}\left (d x +c \right )\right )+4 \left (\cos ^{2}\left (d x +c \right )\right ) \sin \left (d x +c \right )-3 i \cos \left (d x +c \right )-\sin \left (d x +c \right )\right ) \sqrt {\frac {a \left (i \sin \left (d x +c \right )+\cos \left (d x +c \right )\right )}{\cos \left (d x +c \right )}}}{5 d \cos \left (d x +c \right )^{2} a^{2}}\) | \(90\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Both result and optimal contain complex but leaf count of result is larger than
twice the leaf count of optimal. 350 vs. \(2 (27) = 54\).
time = 0.39, size = 350, normalized size = 10.00 \begin {gather*} -\frac {2 \, {\left (-i \, \sqrt {a} - \frac {2 \, \sqrt {a} \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} - \frac {2 i \, \sqrt {a} \sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} - \frac {6 \, \sqrt {a} \sin \left (d x + c\right )^{3}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{3}} - \frac {6 \, \sqrt {a} \sin \left (d x + c\right )^{5}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{5}} + \frac {2 i \, \sqrt {a} \sin \left (d x + c\right )^{6}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{6}} - \frac {2 \, \sqrt {a} \sin \left (d x + c\right )^{7}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{7}} + \frac {i \, \sqrt {a} \sin \left (d x + c\right )^{8}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{8}}\right )} {\left (\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right )}^{\frac {3}{2}} {\left (\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} - 1\right )}^{\frac {3}{2}}}{5 \, {\left (a^{2} - \frac {4 \, a^{2} \sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + \frac {6 \, a^{2} \sin \left (d x + c\right )^{4}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{4}} - \frac {4 \, a^{2} \sin \left (d x + c\right )^{6}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{6}} + \frac {a^{2} \sin \left (d x + c\right )^{8}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{8}}\right )} d {\left (-\frac {2 i \, \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + \frac {\sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} - 1\right )}^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Both result and optimal contain complex but leaf count of result is larger than twice
the leaf count of optimal. 59 vs. \(2 (27) = 54\).
time = 0.36, size = 59, normalized size = 1.69 \begin {gather*} \frac {8 i \, \sqrt {2} \sqrt {\frac {a}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}}}{5 \, {\left (a^{2} d e^{\left (4 i \, d x + 4 i \, c\right )} + 2 \, a^{2} d e^{\left (2 i \, d x + 2 i \, c\right )} + a^{2} d\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sec ^{5}{\left (c + d x \right )}}{\left (i a \left (\tan {\left (c + d x \right )} - i\right )\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.70, size = 139, normalized size = 3.97 \begin {gather*} \frac {\left (\cos \left (d\,x\right )-\sin \left (d\,x\right )\,1{}\mathrm {i}\right )\,\left (\cos \left (c\right )-\sin \left (c\right )\,1{}\mathrm {i}\right )\,\sqrt {\frac {a\,\left (\cos \left (2\,c+2\,d\,x\right )+1+\sin \left (2\,c+2\,d\,x\right )\,1{}\mathrm {i}\right )}{\cos \left (2\,c+2\,d\,x\right )+1}}\,\left (2\,\cos \left (2\,c+2\,d\,x\right )+\cos \left (4\,c+4\,d\,x\right )+1-\sin \left (2\,c+2\,d\,x\right )\,2{}\mathrm {i}-\sin \left (4\,c+4\,d\,x\right )\,1{}\mathrm {i}\right )\,4{}\mathrm {i}}{5\,a^2\,d\,\left (4\,\cos \left (2\,c+2\,d\,x\right )+\cos \left (4\,c+4\,d\,x\right )+3\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________